package com.shiro.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

public abstract class Hash {
	public static String md5(String src) {
		if (src == "null") {
			src = "";
		}
		Md5Hash md5 = new Md5Hash(src);
		return md5.toString();
	}
}
